package marmalius;
/*
 Loads graphics and damages.
 */
public class MagicDelays {

    public int mageGfx(int ID) {
        client c = (client) PlayerHandler.getInstance().getPlayer(ID);

        if (c.pSpellID == 1192) { // Flames of zammy
            return 78;
        }
        if (c.pSpellID == 1191) { // Claws of guthix
            return 77;
        }
        if (c.pSpellID == 1190) { // Sara Strike
            return 76;
        }
        if (c.pSpellID == 12891) { // Ice barrage
            return 369;
        }
        if (c.pSpellID == 12929) { // Blood Barrage
            return 377;
        }
        if (c.pSpellID == 13023) { // Shadow Barrage
            return 390;
        }
        if (c.pSpellID == 12871) { // Ice blitz
            return 367;
        }
        if (c.pSpellID == 12911) { // Blood blitz
            return 375;
        }
        if (c.pSpellID == 12999) { // Shadow blitz
            return 381;
        }
        if (c.pSpellID == 12911) { // Smoke blitz
            return 387;
        } 
        if (c.pSpellID == 12881) { // Ice burst
            return 363;
        } 
        if (c.pSpellID == 12919) { // Blood burst
            return 373;
        } 
        if (c.pSpellID == 13011) { // Shadow burst
            return 381;
        } 
        if (c.pSpellID == 12963) { // Smoke burst
            return 387;
        }
        if (c.pSpellID == 12861) { // Ice rush
            return 361;
        } 
        if (c.pSpellID == 12901) { // Blood rush
            return 373;
        } 
        if (c.pSpellID == 12987) { // Shadow rush
            return 379;
        }
        if (c.pSpellID == 12939) // Smoke rush
            return 383;
        else
            return -1;
    }

    public int mageHitDiff(int ID) {
        client c = (client) PlayerHandler.getInstance().getPlayer(ID);

        if (c.pSpellID == 1192) { // Flames of zammy
            if (c.charge >= 1)
                return 30;
            else
                return 20;
        }
        if (c.pSpellID == 1191) { // Claws of guthix
            if (c.charge >= 1)
                return 30;
            else
                return 20;
        }
        if (c.pSpellID == 1190) { // Sara Strike
            if (c.charge >= 1)
                return 30;
            else
                return 20;
        }
        if (c.pSpellID == 12891) // Ice barrage
            return 30;
        if (c.pSpellID == 12929) // Blood barrage
            return 29;
        if (c.pSpellID == 13023) // Shadow Barrage
            return 28;
        if (c.pSpellID == 12975) // Smoke Barrage
            return 27;
        if (c.pSpellID == 12871) // Ice blitz
            return 26;
        if (c.pSpellID == 12911) // Blood blitz
            return 25;
        if (c.pSpellID == 12999) // Shadow blitz
            return 24;
        if (c.pSpellID == 12951) // Smoke blitz
            return 23;
        if (c.pSpellID == 12881) // Ice burst
            return 22;
        if (c.pSpellID == 12919) // Blood burst
            return 21;
        if (c.pSpellID == 13011) // Shadow burst
            return 20;
        if (c.pSpellID == 12963) // Smoke burst
            return 19;
        if (c.pSpellID == 12861) // Ice rush
            return 17;
        if (c.pSpellID == 12901) // Blood rush
            return 16;
        if (c.pSpellID == 12987) // Shadow rush
            return 15;
        if (c.pSpellID == 12939) // Smoke rush
            return 14;
        else
            return -1;
    }

}
